import Mock from "mockjs";
import homeApi from './mockServerData/home'
import user from './mockServerData/user'


// Mock.mock('/api/home/getData', homeApi.getStatisticalData)
Mock.mock('/api/home/getData', homeApi.getStatisticalData ) 

// 用户列表
Mock.mock(/api\/user\/getUser/, user.getUserList)

// 新增用户
Mock.mock('/api/user/add', 'post', user.createUser)

// 编辑用户
Mock.mock('/api/user/edit', 'post', user.updateUser)

// 删除用户
Mock.mock('/api/user/del', 'post', user.deleteUser) 